import { Meteor } from 'meteor/meteor';

Meteor.startup(() => {
	// code to run on server at startup
	__meteor_runtime_config__.API_HOST = process.env.API_HOST;
	if (Meteor.isClient){
    	var myApp = new Framework7({
          modalTitle: "提示",
          modalButtonOk: "确定",
          modalButtonCancel: "取消",
          modalPreloaderTitle: "加载中...",
          modalUsernamePlaceholder: "用户名",
          modalPasswordPlaceholder: "密码",
          smartSelectInPopup: true,
		});
		var $$ = Dom7;
	}
});
